package com.hax2max.control.externalclient.facebookAPI;

public class FacebookConnectorException extends Exception {
	private static final long serialVersionUID = 2712219535194462233L;

	public final int errorID;

	public static final int HttpConnectionError = 0;
	public static final int InvalidUsernamePassword = 1;
	public static final int MissingExtendedPermission = 2;
	public static final int MissingApplicationPermission = 3;
	public static final int ParserError = 4;
	public static final int AccessDeniedOrNoStatusSet = 5;
	
	public FacebookConnectorException(int errorID, String message)
	{
		super(message);
		this.errorID = errorID;
	}
}
